//
//  BeanGunZooming.m
//  RtspClient
//
//  Created by qi tan on 2024/1/9.
//  Copyright © 2024 Andres Rojas. All rights reserved.
//

#import "BeanGunZooming.h"

@implementation BeanGunZooming
- (instancetype)initWithDict:(NSDictionary *)dict {
    if(self = [super init]) {
        if([[dict allKeys] containsObject:@"zoomRate"]) {
            self.zoomRate = [dict[@"zoomRate"] doubleValue];
        }

    }
    return self;
}

+ (instancetype)beanWithDict:(NSDictionary *)dict {
    return [[self alloc]initWithDict:dict];
}

- (NSString *)description {
    return [NSString stringWithFormat:@"BeanGunZooming-: zoomRate:%f", self.zoomRate];
}
@end
